FROM openjdk:8-jre
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
ENV APP_PATH=/apps
WORKDIR $APP_PATH
COPY checkentry-sever-0.0.1-SNAPSHOT.jar $APP_PATH/app.jar
EXPOSE 8082
ENTRYPOINT ["java","-jar"]
CMD ["app.jar"]

